let chren = args.children;

chren.forEach(function(item,index,array){
  let id = item.fromMap.id;
  lib.dbUpdate("update receipt_product set qc_status = 1 where id = ?",id); 
});

const pid = args.fromMap.id;
lib.dbUpdate("update receipt set status = 1 where id = ?",pid);
